package cn.sfrog.project.biz.web.vo.account;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 分页数据
 */
@Data
@ApiModel(description = "交易明细查询VO")
public class AppUserTradeRecordResultVO {


    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("交易时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tradeTime;

    @ApiModelProperty("交易类型【1=充值 2=提现 3=转赠 4=购买服务套餐 5=捐助项目 6=缴保证金 7=保证金退费】")
    private String type;

    @ApiModelProperty("交易金额")
    private BigDecimal tradeAmount;

    @ApiModelProperty("流水号")
    private String serialNumber;

    @ApiModelProperty("备注")
    private String remark;


}
